const mongoose = require("mongoose");
const adminsModel = mongoose.model("admins");
const getAdmins = async () => {
    const data = await adminsModel.find();
    return data;
}

module.exports = { getAdmins };